package org.example.mapper;

import org.example.pojo.Emp;

import java.util.List;
import java.util.Map;

/**
 * ClassName: EmpMapper
 * Package: org.example.mybatis.mapper
 * Description:
 *
 * @Author wanghao
 * @Create 2024-06-28 17:27
 * @Version 1.0
 */
public interface EmpMapper {

    // 查询每个部门的平均工资
    Map getAvgSalaryByDeptNo(String deptNo);

    List<Emp> getEmpList();

    // 演示返回自增列
    void addEmp(Emp emp);


}
